<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>netLink C++ 11: include/Number.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">netLink C++ 11
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">Number.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">    netLink: c++ 11 networking library</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">    Copyright (C) 2013-2023 Alexander Meißner</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"></span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">    This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">    it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment">    (at your option) any later version.</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">    This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">    GNU General Public License for more details.</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"></span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">    You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#include &quot;Element.h&quot;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="keyword">namespace </span>MsgPack {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="class_msg_pack_1_1_number.html">   26</a></span>    <span class="keyword">class </span><a class="code hl_class" href="class_msg_pack_1_1_number.html">Number</a> : <span class="keyword">public</span> <a class="code hl_class" href="class_msg_pack_1_1_element.html">Element</a> {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="class_msg_pack_1_1_serializer.html">Serializer</a>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="class_msg_pack_1_1_deserializer.html">Deserializer</a>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>        <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">   30</a></span>        <span class="keywordtype">char</span> <a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>[9]; </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>        <a class="code hl_class" href="class_msg_pack_1_1_number.html">Number</a>() { }</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>        int64_t <a class="code hl_function" href="class_msg_pack_1_1_number.html#abc0b3b28c008affa858cfff5a608b2bd">startDeserialize</a>(uint8_t firstByte);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>        std::streamsize <a class="code hl_function" href="class_msg_pack_1_1_number.html#a208481162e797fa58a3b370efa39039e">serialize</a>(int64_t&amp; pos, std::basic_streambuf&lt;char&gt;* streamBuffer, std::streamsize bytes);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>        std::streamsize <a class="code hl_function" href="class_msg_pack_1_1_number.html#a76bc8f07201cc3ceea0d86c33839b09b">deserialize</a>(int64_t&amp; pos, std::basic_streambuf&lt;char&gt;* streamBuffer, std::streamsize bytes);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>        int64_t <a class="code hl_function" href="class_msg_pack_1_1_number.html#a18a44a807ed8c9d4168025b1f0ecee0e">getEndPos</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>        <span class="keyword">public</span>:</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>        <a class="code hl_class" href="class_msg_pack_1_1_number.html">Number</a>(uint64_t value);</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>        <a class="code hl_class" href="class_msg_pack_1_1_number.html">Number</a>(int64_t value);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>        <a class="code hl_class" href="class_msg_pack_1_1_number.html">Number</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>        <a class="code hl_class" href="class_msg_pack_1_1_number.html">Number</a>(<span class="keywordtype">double</span> value);</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        std::unique_ptr&lt;Element&gt; <a class="code hl_function" href="class_msg_pack_1_1_number.html#a26b8c963909b07d21f48ebeaef53f56b">copy</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="class_msg_pack_1_1_number.html#a914127f15b0b302d018eb493fd429ca6">toJSON</a>(std::ostream&amp; stream) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>        Type <a class="code hl_function" href="class_msg_pack_1_1_number.html#aa0c389c3aeca01236bd41c4e10f3be86">getType</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="class_msg_pack_1_1_number.html#a0257a1b8db12ced3832f1b8d5692d1c6">isUnsignedInteger</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="class_msg_pack_1_1_number.html#a7c4e01bf4b0916595eef4982c5058275">isSignedInteger</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="class_msg_pack_1_1_number.html#a59a6bafb68263abbe29669654e065f69">isFloatingPoint</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="class_msg_pack_1_1_number.html#a3bc86bdd53a0a772887f2269ce1b6ccd">   55</a></span>        <span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; T <a class="code hl_function" href="class_msg_pack_1_1_number.html#a3bc86bdd53a0a772887f2269ce1b6ccd">getValue</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>            uint8_t type = <span class="keyword">static_cast&lt;</span><span class="keyword">const </span>uint8_t<span class="keyword">&gt;</span>(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>[0]);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>            <span class="keywordflow">if</span>(type &lt; FIXMAP)</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>                <span class="keywordflow">return</span> (T)type;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>            <span class="keywordflow">else</span> <span class="keywordflow">if</span>(type &gt;= FIXINT)</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>                <span class="keywordflow">return</span> (T)<span class="keyword">static_cast&lt;</span><span class="keyword">const </span>int8_t<span class="keyword">&gt;</span>(type);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>            <span class="keywordflow">else</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>                <span class="keywordflow">switch</span>(type) {</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>                    <span class="keywordflow">case</span> Type::FLOAT_32:</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>                        <span class="keywordflow">return</span> (T)loadFloat32(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>                    <span class="keywordflow">case</span> Type::FLOAT_64:</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>                        <span class="keywordflow">return</span> (T)loadFloat64(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>                    <span class="keywordflow">case</span> Type::UINT_8:</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>                        <span class="keywordflow">return</span> (T)loadUint8(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>                    <span class="keywordflow">case</span> Type::UINT_16:</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>                        <span class="keywordflow">return</span> (T)loadUint16(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>                    <span class="keywordflow">case</span> Type::UINT_32:</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>                        <span class="keywordflow">return</span> (T)loadUint32(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>                    <span class="keywordflow">case</span> Type::UINT_64:</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>                        <span class="keywordflow">return</span> (T)loadUint64(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>                    <span class="keywordflow">case</span> Type::INT_8:</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>                        <span class="keywordflow">return</span> (T)loadInt8(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>                    <span class="keywordflow">case</span> Type::INT_16:</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>                        <span class="keywordflow">return</span> (T)loadInt16(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>                    <span class="keywordflow">case</span> Type::INT_32:</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>                        <span class="keywordflow">return</span> (T)loadInt32(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>                    <span class="keywordflow">case</span> Type::INT_64:</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>                        <span class="keywordflow">return</span> (T)loadInt64(<a class="code hl_variable" href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">data</a>+1);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>                }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>            <span class="keywordflow">return</span> (T)0;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>        }</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    };</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>};</div>
<div class="ttc" id="aclass_msg_pack_1_1_deserializer_html"><div class="ttname"><a href="class_msg_pack_1_1_deserializer.html">MsgPack::Deserializer</a></div><div class="ttdoc">Used to deserialize elements from a std::streambuf.</div><div class="ttdef"><b>Definition</b> StreamManager.h:71</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_element_html"><div class="ttname"><a href="class_msg_pack_1_1_element.html">MsgPack::Element</a></div><div class="ttdoc">Abstract class to represent one element in a MsgPack stream.</div><div class="ttdef"><b>Definition</b> Element.h:100</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html"><div class="ttname"><a href="class_msg_pack_1_1_number.html">MsgPack::Number</a></div><div class="ttdoc">MsgPack::Element for all types of numbers.</div><div class="ttdef"><b>Definition</b> Number.h:26</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a0257a1b8db12ced3832f1b8d5692d1c6"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a0257a1b8db12ced3832f1b8d5692d1c6">MsgPack::Number::isUnsignedInteger</a></div><div class="ttdeci">bool isUnsignedInteger() const</div><div class="ttdoc">Returns true if getType() is one of FIXUINT, UINT_8, UINT_16, UINT_32, UINT_64.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:698</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a18a44a807ed8c9d4168025b1f0ecee0e"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a18a44a807ed8c9d4168025b1f0ecee0e">MsgPack::Number::getEndPos</a></div><div class="ttdeci">int64_t getEndPos() const</div><div class="ttdoc">Returns the first invalid (de)serializer position.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:619</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a1f26d0709773a5ee25b4058969cd025d"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a1f26d0709773a5ee25b4058969cd025d">MsgPack::Number::data</a></div><div class="ttdeci">char data[9]</div><div class="ttdoc">Internal raw represenation of the number.</div><div class="ttdef"><b>Definition</b> Number.h:30</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a208481162e797fa58a3b370efa39039e"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a208481162e797fa58a3b370efa39039e">MsgPack::Number::serialize</a></div><div class="ttdeci">std::streamsize serialize(int64_t &amp;pos, std::basic_streambuf&lt; char &gt; *streamBuffer, std::streamsize bytes)</div><div class="ttdoc">Serializes bytes at the given serializer position pos into streamBuffer.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:605</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a26b8c963909b07d21f48ebeaef53f56b"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a26b8c963909b07d21f48ebeaef53f56b">MsgPack::Number::copy</a></div><div class="ttdeci">std::unique_ptr&lt; Element &gt; copy() const</div><div class="ttdoc">Creates a deep copy of this element.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:644</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a3bc86bdd53a0a772887f2269ce1b6ccd"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a3bc86bdd53a0a772887f2269ce1b6ccd">MsgPack::Number::getValue</a></div><div class="ttdeci">T getValue() const</div><div class="ttdoc">Returns the value as given data type T.</div><div class="ttdef"><b>Definition</b> Number.h:55</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a59a6bafb68263abbe29669654e065f69"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a59a6bafb68263abbe29669654e065f69">MsgPack::Number::isFloatingPoint</a></div><div class="ttdeci">bool isFloatingPoint() const</div><div class="ttdoc">Returns true if getType() is one of FLOAT_32, FLOAT_64.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:708</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a76bc8f07201cc3ceea0d86c33839b09b"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a76bc8f07201cc3ceea0d86c33839b09b">MsgPack::Number::deserialize</a></div><div class="ttdeci">std::streamsize deserialize(int64_t &amp;pos, std::basic_streambuf&lt; char &gt; *streamBuffer, std::streamsize bytes)</div><div class="ttdoc">Deserializes bytes at the given deserializer position pos from streamBuffer.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:612</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a7c4e01bf4b0916595eef4982c5058275"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a7c4e01bf4b0916595eef4982c5058275">MsgPack::Number::isSignedInteger</a></div><div class="ttdeci">bool isSignedInteger() const</div><div class="ttdoc">Returns true if getType() is one of FIXINT, INT_8, INT_16, INT_32, INT_64.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:703</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_a914127f15b0b302d018eb493fd429ca6"><div class="ttname"><a href="class_msg_pack_1_1_number.html#a914127f15b0b302d018eb493fd429ca6">MsgPack::Number::toJSON</a></div><div class="ttdeci">void toJSON(std::ostream &amp;stream) const</div><div class="ttdoc">Writes a human readable JSON-like string into the given stream.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:650</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_aa0c389c3aeca01236bd41c4e10f3be86"><div class="ttname"><a href="class_msg_pack_1_1_number.html#aa0c389c3aeca01236bd41c4e10f3be86">MsgPack::Number::getType</a></div><div class="ttdeci">Type getType() const</div><div class="ttdoc">Returns the MsgPack::Type.</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:691</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_number_html_abc0b3b28c008affa858cfff5a608b2bd"><div class="ttname"><a href="class_msg_pack_1_1_number.html#abc0b3b28c008affa858cfff5a608b2bd">MsgPack::Number::startDeserialize</a></div><div class="ttdeci">int64_t startDeserialize(uint8_t firstByte)</div><div class="ttdoc">Reads in one byte and returns the initial deserializer position in bytes (negative value if there is ...</div><div class="ttdef"><b>Definition</b> MsgPack.cpp:600</div></div>
<div class="ttc" id="aclass_msg_pack_1_1_serializer_html"><div class="ttname"><a href="class_msg_pack_1_1_serializer.html">MsgPack::Serializer</a></div><div class="ttdoc">Used to serialize elements into a std::streambuf.</div><div class="ttdef"><b>Definition</b> StreamManager.h:37</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
</small></address>
</body>
</html>
